<script setup lang="ts">
import { ref,type Ref } from 'vue';

let row_num:Ref<Number,Number>=ref(0)
</script>
<template>
    <div class="main">
        <input v-model="row_num" type="number"></input>
        <button>提交</button>
        <br/>
        <div v-for="value in row_num" class="div_row"></div>
    </div>
</template>
<style scoped>
.div_row{
    height: 20px;
    border: 1px red solid;
}
</style>